package com.wise.entities.content;

import com.wise.framework.annotations.ApiInfo;
import com.wise.framework.daoannotations.Column;
import com.wise.framework.daoannotations.Table;
import com.wise.framework.entitiesbasic.IdTimeEntity;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * 商品类别
 * （2022-01-11扩展 原类型为商品类别类型为0  *新增行业类型为1）
 */
@Getter
@Setter
@Table("market_product")
public class Product extends IdTimeEntity {
	/**
	 * 产品名
	 */
	@Column("name")
	private String name;
	public static final String _name = "name";

	/**
	 * 产品图片url
	 */
	@Column("url")
	private String url;
	public static final String _url = "url";

	/**
	 * 产品类别
	 */
	@Column("category_id")
	private String categoryId;
	public static final String _categoryId = "category_id";

	/**
	 * 产品详情
	 */
	@Column("content")
	private String content;
	public static final String _content = "content";

	/**
	 * 发布时间
	 */
	@Column("publish_time")
	private Date publishTime;
	public static final String _publishTime = "publish_time";

	/**
	 * 发布状态
	 */
	@Column("state")
	private Integer state;
	public static final String _state = "state";

	/**
	 * 菜单栏显示
	 */
	@Column("show_status")
	private boolean showStatus;
	public static final String _showStatus = "show_status";

	/**
	 * 语言类型
	 */
	@Column("lang")
	private String lang;
	public static final String _lang = "lang";

	/**
	 * 微页面地址
	 */
	@Column("page_id")
	private String pageId;
	public static final String _pageId = "page_id";

	/**
	 * 微页面名
	 */
	@Column("page_name")
	private String pageName;
	public static final String _pageName = "pageName";

	/**
	 * 产品标题
	 */
	@Column("title")
	private String title;
	public static final String _title = "title";

	/**
	 * 产品简介
	 */
	@Column("intro")
	private String intro;
	public static final String _intro = "intro";

	/**
	 * 排序
	 */
	@Column("sort")
	private Integer sort;
	public static final String _sort = "sort";


	/**
	 * 新品推荐
	 */
	@Column("new_recommend")
	private boolean newRecommend;
	public static final String _newRecommend = "new_recommend";

	/**
	 * 推荐
	 */
	@Column("recommend")
	private boolean recommend;
	public static final String _recommend = "recommend";

	/**
	 * 用户手册URL
	 */
	@Column("user_guide_url")
	private String userGuideUrl;
	public static final String _userGuideUrl = "user_guide_url";

	/**
	 * 产品彩页URL
	 */
	@Column("product_intro_url")
	private String productIntroUrl;
	public static final String _productIntroUrl = "product_intro_url";

	/**
	 * 路由ID
	 */
	@Column("route_id")
	private String routeId;
	public static final String _routeId = "route_id";

	/**
	 * seoTitle
	 */
	@Column("seo_title")
	private String seoTitle;
	public static final String _seoTitle = "seo_title";

	/**
	 * 关键词描述
	 */
	@Column("seo_describe")
	private String seoDescribe;
	public static final String SEO_DESCRIBE = "seo_describe";

	/**
	 * 重定向url
	 */
	@Column("re_url")
	private String reUrl;
	public static final String RE_URL = "re_url";

	/**
	 * 草稿
	 */
	@Column("draft")
	private String draft;
	public static final String DRAFT = "draft";

	/**
	 * 网页标题
	 */
	@Column("page_title")
	private String pageTitle;
	public static final String PAGE_TITLE = "page_title";
	/**
	 * 菜单栏展示图片url
	 */
	@Column("title_pic")
	private String titlePic;
	public static final String _titlePic = "title_pic";

	@Column("category_type")
	private Integer categoryType;
	public static final String _categoryType = "category_type";

	@Column("tmall_url")
	private String tmallUrl;
	public static final String _tmallUrl = "tmall_url";

	@Column("jd_url")
	private String jdUrl;
	public static final String _jdUrl = "jd_url";

	@Column("ar_url")
	private String arUrl;
}
